const { Sequelize } = require('sequelize');
const sequelize = new Sequelize('self','root','yan12345678',{
  host:'81.70.212.139',
  dialect:'mysql',
});
sequelize
  .authenticate()
  .then(() => {
      console.log('成功。。。。。。。。。.');
  })
  .catch(err => {
      console.error('失败。。。。。。。。');
  });
module.exports = sequelize